import request from '@/utils/request'

// 查询队伍老师管理列表
export function listTeamTeacher(query) {
  return request({
    url: '/buis/teamTeacher/list',
    method: 'get',
    params: query
  })
}

// 查询队伍老师管理详细
export function getTeamTeacher(id) {
  return request({
    url: '/buis/teamTeacher/' + id,
    method: 'get'
  })
}

// 新增队伍老师管理
export function addTeamTeacher(data) {
  return request({
    url: '/buis/teamTeacher',
    method: 'post',
    data: data
  })
}

// 修改队伍老师管理
export function updateTeamTeacher(data) {
  return request({
    url: '/buis/teamTeacher',
    method: 'put',
    data: data
  })
}

// 删除队伍老师管理
export function delTeamTeacher(id) {
  return request({
    url: '/buis/teamTeacher/' + id,
    method: 'delete'
  })
}
